<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div>hello</div>
    <script>
      const body = document.body;
      console.log(body.parentNode); // parentNode
      console.log(body.childNodes); // childNodes
      console.log(body.firstChild); //
      console.log(body.lastChild); //
      console.log(body.previousSibling); //
      console.log(body.nextSibling); //
    </script>
  </body>
</html>
